package org.walkerljl.commons.dts;

/**
 * DTS 参数
 *
 * @author lijunlin
 */
public class DtsParam {

    private DtsHandler handler;
    private Object param;
    private Object result;

    /**
     * 默认构造函数
     */
    public DtsParam() {}

    public DtsParam(DtsHandler handler, Object param) {
        this.handler = handler;
        this.param = param;
    }

    public DtsHandler getHandler() {
        return handler;
    }

    public void setHandler(DtsHandler handler) {
        this.handler = handler;
    }

    public Object getParam() {
        return param;
    }

    public void setParam(Object param) {
        this.param = param;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }

    @Override
    public String toString() {
        return "DtsParam{" +
                "handler=" + handler +
                ", param=" + param +
                ", result=" + result +
                '}';
    }
}
